﻿@{
    ViewBag.Title = "ContactCDP";
}
@using SchoolProject2012.Langue;
<h2>@Resources.contactCDP</h2>
@using (Html.BeginForm(null, null, FormMethod.Post))
{
    @Html.ValidationSummary(true)
  
        <div class="editor-label">
            @Html.Label(Resources.nom)
        </div>
        <div class="editor-field">
            @Html.TextBox("nom")
            @Html.ValidationMessage("nom")
        </div>

        <div class="editor-label">
            @Html.Label(Resources.prenom)
        </div>
        <div class="editor-field">
            @Html.TextArea("message")
            @Html.ValidationMessage("message")
        </div>

        <div class="editor-label">
            @Html.Label(Resources.objet)
        </div>
        <div class="editor-field">
            @Html.TextBox("subject")
            @Html.ValidationMessage("subject")
        </div>

        <div class="editor-label">
            @Html.Label(Resources.message)
        </div>
        <div class="editor-field">
            @Html.TextArea("message")
            @Html.ValidationMessage("message")
        </div>

        <p>
            <input type="submit" value="@Resources.envoyer" />
        </p>
}